﻿namespace TestTool.Tests.Common.Soap
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("xsd", "2.0.50727.3038"), XmlRoot(Namespace="http://www.w3.org/2003/05/soap-envelope", IsNullable=false), DesignerCategory("code"), XmlType(Namespace="http://www.w3.org/2003/05/soap-envelope")]
    public class Fault
    {
        private faultcode codeField;
        private detail detailField;
        private string nodeField;
        private reasontext[] reasonField;
        private string roleField;

        public faultcode Code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        public detail Detail
        {
            get
            {
                return this.detailField;
            }
            set
            {
                this.detailField = value;
            }
        }

        [XmlElement(DataType="anyURI")]
        public string Node
        {
            get
            {
                return this.nodeField;
            }
            set
            {
                this.nodeField = value;
            }
        }

        [XmlArrayItem("Text", IsNullable=false)]
        public reasontext[] Reason
        {
            get
            {
                return this.reasonField;
            }
            set
            {
                this.reasonField = value;
            }
        }

        [XmlElement(DataType="anyURI")]
        public string Role
        {
            get
            {
                return this.roleField;
            }
            set
            {
                this.roleField = value;
            }
        }
    }
}

